package unit11.extractSuperclass;

/**
 * @author v_irlwang
 * @date 2021/5/24
 */
public class Employee extends Party {

    private String id;
    private int annualCost;

    public Employee(String id, String name, int annualCost) {
        super(name);
        this.id = id;
        this.annualCost = annualCost;
    }

    public String getId() {
        return id;
    }

    public int getAnnualCost() {
        return annualCost;
    }
}
